<?php
 Session_Start () ;
 $fin_session = 0 ;
 Include ("../include/garennes.cfg") ;
 Include ("../include/init.php") ;
 Include ("./include/config.inc") ;
 verif_droits ($droit_courant, $_SESSION ["code"]) ;

 $param = var_courante ("param", 0, 0) ;
 
 $resultats = SQL_commande ("SELECT * FROM menus WHERE numero='".$droit_courant."' AND ordre='0' LIMIT 1", $id_sql) ;
 $l = SQL_tableau_associatif ($resultats, "") ; 
 Echo "<HTML><HEAD>" ;
 entete_html ("Garennes", "_top", 0) ;
 Echo styles ("none", "none", "none", $l ["couleur_fond"], "none") ;
 If ($param != 1) { Include ("./include/accueil.js") ; }
 Echo "</HEAD>" ;
 
 Echo "<FRAMESET COLS=\"160,*\" FRAMEBORDER=\"0\" BORDER=\"0\">" ;
 Echo "<FRAMESET ROWS=\"60,65,*\" FRAMEBORDER=\"0\">" ;
 Echo "<FRAME SRC=\"./pages/logo.php\" NAME=\"logo\" NORESIZE SCROLLING=\"NO\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\">" ;
 Echo "<FRAME SRC=\"./pages/menu_status.php\" NAME=\"menu_status\" NORESIZE SCROLLING=\"NO\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\">" ;
 Echo "<FRAME SRC=\"./pages/menu.php\" NAME=\"menu\" MARGINHEIGHT=0 MARGINWIDTH=\"0\">" ;
 Echo "</FRAMESET>" ;
 Echo "<FRAMESET ROWS=\"*\" FRAMEBORDER=\"0\" BORDER=\"0\">" ;
 Echo "<FRAME SRC=\"./pages/frame.php?debut=1&param=".$param."\" NAME=\"travail\" NORESIZE SCROLLING=\"NO\" MARGINHEIGHT=\"0\">" ;
 Echo "</FRAMESET>" ;
 Echo "</FRAMESET>" ;
 Echo "</HTML>" ;
?>